package com.niubi.yygh.hosp.service;

import com.niubi.yygh.model.hosp.Hospital;
import com.niubi.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface HospitalService {
  void saveHosp(Map<String, Object> map);

  Hospital getByHoscode(String hoscode);

  Page<Hospital> selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

  void updateStatus(String id, Integer status);

  Map<String, Object> showHosp(String id);

  Page<Hospital> selectHospPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

  List<Hospital> findByHosname(String hosname);

  Map<String, Object> item(String hoscode);
}